import request from '@/utils/myAioxs'

//获取课程详情
export function getCourseDetail(id) {
  return request({
    url: `/course/v1/course-detail/${id}`,
    method: 'get',
  })
}
export function getPreviewCourseList(id) {
  return request({
    url: `/course/v1/preview-courseware-list/${id}`,
    method: 'get',
  })
}

